home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 23
/
Aminet 23 (1998)(GTI - Schatztruhe)[!][Feb 1998].iso
/
Aminet
/
text
/
edit
/
BlacksEditor.lha
/
BlacksEditor
/
Support
/
Marco.dfn
< prev
next >
Wrap
Text File
|
1997-12-03
|
19KB
|
501 lines
;------------------------------------------------------------------------------
;
; $VER: Marco.dfn 1.0 (02.01.96)
;
; BED definitions file used by Marco Negri
;
; By Marco Negri
;
;------------------------------------------------------------------------------
;------------------------------------------------------------------------------
;
; Synopsis:
;
; MENU <label>
; ITEM <label> <shortcut> <command> <arguments>
; ITEM ...
; ITEM ...
; BAR
; ITEM ...
; SUB <label> <shortcut> <command> <arguments>
; SUB ...
;
; MENU ...
;
; etc.
;
;------------------------------------------------------------------------------
MENUS:
MENU "File"
ITEM "New Doc" "W" OpenDoc
ITEM "Clear File" "" ClearFile
BAR
ITEM "Open File..." "[F2]" OpenFile
ITEM "Open New Doc..." "[Shift]-[F2]" OpenDoc FILEREQ
ITEM "Insert File..." "" InsertFile
BAR
ITEM "Save File" "S" SaveFile
ITEM "Save File As..." "A" SaveFileAs
ITEM "Save & Close" "" ExecARexxString "SaveFile MODIFIED QUIET; CloseDoc;"
BAR
ITEM "Print File..." "" PrintFile
BAR
ITEM "Close Doc" "Q" CloseDoc
ITEM "Quit" "" Quit
MENU "Window"
ITEM "Select..." "" ExecARexxMacro WINDOW=CON:////Select.../SCREEN* BED:Rexx/SelectDoc.bed
BAR
ITEM "Minimize" "" SizeWindow 0 0
ITEM "Maximize" "" SizeWindow 10000 10000
ITEM "Normalize" "[Shift]-[F4]" SetWindowSpec
BAR
ITEM "Snapshot" "" ExecARexxString "OPTIONS RESULTS; GetWindowSpec; SetPrefs DefaultWindow RESULT;"
BAR
ITEM "Iconify" "[Shift]-[F5]" IconifyWindow TOGGLE
ITEM "Iconify All" "" ExecARexxMacro BED:Rexx/OrganizeWindows.bed ICONIFY
ITEM "Tile" "" ExecARexxMacro BED:Rexx/OrganizeWindows.bed TILE
ITEM "Stack" "" ExecARexxMacro BED:Rexx/OrganizeWindows.bed STACK
ITEM "Cascade" "" ExecARexxMacro BED:Rexx/OrganizeWindows.bed CASCADE
BAR
ITEM "Open Desktop..." "" ExecARexxMacro BED:Rexx/LoadDesktop.bed
ITEM "Save Desktop As..." "" ExecARexxMacro CONSOLE BED:Rexx/SaveDesktop.bed
MENU "Edit"
ITEM "Mark Block" "B" MarkBlk
BAR
ITEM "Select Word" "" MarkBlk WORD
ITEM "Select Line" "E" SelectLine
ITEM "Select All" "T" ExecARexxString "MoveSOF; MarkBlk; MoveEOF;"
BAR
ITEM "Cut" "X" CutBlk
ITEM "Copy" "C" CopyBlk
ITEM "Paste" "V" PasteClip
ITEM "Erase" "" DeleteBlk QUIET
BAR
ITEM "Cut Append" "" CutBlk APPEND
ITEM "Copy Append" "Z" CopyBlk APPEND
BAR
ITEM "Open Clip..." "" OpenClip
ITEM "Save Clip As..." "" SaveClip
ITEM "Print Clip..." "" PrintClip
MENU "Find"
ITEM "Find..." "F" OpenRequester FIND
ITEM "Find Next" "N" Find
ITEM "Find & Replace..." "R" OpenRequester FINDCHANGE
ITEM "Replace Next" "Y" FindChange
BAR
ITEM "Goto Line..." "L" Move
ITEM "Match Bracket" "[F3]" MoveMatchBkt
BAR
ITEM "Set Bookmark" ""
SUB "# 1" "" SetBookmark 1
SUB "# 2" "" SetBookmark 2
SUB "# 3" "" SetBookmark 3
ITEM "Goto Bookmark" ""
SUB "# 1" "" MoveBookmark 1
SUB "# 2" "" MoveBookmark 2
SUB "# 3" "" MoveBookmark 3
MENU "Format"
ITEM "Format Paragraph" "" FormatParagraph
ITEM "Goto Paragraph" ""
SUB "Previous" "" ExecARexxMacro BED:Rexx/PrevParagraph
SUB "Next" "" ExecARexxMacro BED:Rexx/NextParagraph
ITEM "Documentize" "" ExecARexxMacro BED:Rexx/Documentize.bed
BAR
ITEM "Left Justify" "" LeftJustify
ITEM "Right Justify" "" RightJustify
ITEM "L/R Justify" "" Justify
ITEM "Center" "" Center
BAR
ITEM "Tabs -> Spaces" "" Conv2Spaces
ITEM "Spaces -> Tabs" "" Conv2Tabs
ITEM "Remove EOL Blanks" "" StripEOLBlanks
BAR
ITEM "Indent Block" "[F8]" ExecARexxMacro BED:Rexx/IndentBlk.bed
ITEM "Unindent Block" "[Shift]-[F8]" ExecARexxMacro BED:Rexx/UnindentBlk.bed
BAR
ITEM "Indent Line" "" ShiftRight TABS
ITEM "Unindent Line" "" ShiftLeft TABS
MENU "Extras"
ITEM "Check Spelling" "" ExecARexxMacro CONSOLE "BED:Rexx/ASpell.bed"
BAR
ITEM "Undo Line" "[Shift]-[F3]" UndoLine
ITEM "Undelete Line" "" UndeleteLine
BAR
ITEM "Insert Current Date" "" ExecARexxString "Insert DATE();"
ITEM "Insert Current Time" "" ExecARexxString "Insert TIME();"
ITEM "Insert ASCII Char" "" SetChar
ITEM "Insert Version String" "" ExecARexxMacro BED:Rexx/InsertVersion.bed
BAR
ITEM "Comment Block" "" ExecARexxMacro BED:Rexx/CommentBlk.bed
ITEM "Number Lines" "" ExecARexxMacro BED:Rexx/NumberLines.bed
BAR
ITEM "Currect Word" "Alt-F3" CorrectWord
ITEM "Currect Word Case" "Alt-F4" CorrectWordCase
ITEM "Complete Word" "Alt-F5" CompleteWord
ITEM "Complete Word PREVIOUS" "Alt-F7" CompleteWord PREVIOUS
ITEM "Complete Template" "Alt-F8" CompleteTemplate
ITEM "ReplaceWord" "Alt-F9" ReplaceWord pippo
BAR
ITEM "Word -> Lower Case" "" Conv2Lower
ITEM "Word -> Upper Case" "" Conv2Upper
ITEM "Toggle Char Case" "" ToggleCharCase
BAR
ITEM "Encrypt Block" "" EncryptBlk
MENU "Macro"
ITEM "Start Recording" "G" RecordMacro
ITEM "Stop Recording" "H" EndMacro
BAR
ITEM "Play Macro" "M" PlayMacro 1
ITEM "Play Many..." "I" PlayMacro
BAR
ITEM "Open Macro..." "" OpenMacro
ITEM "Save Macro as..." "" SaveMacro
MENU "Tools"
ITEM "New Shell..." "[F5]" NewShell
ITEM "New Console..." "[F4]" ExecARexxMacro CONSOLE BED:Rexx/CmdShell.bed
BAR
ITEM "Exec Tool..." "" ExecTool
ITEM "Run Tool..." "" RunTool
ITEM "Exec DOS Script..." "" ExecDOSScript CONSOLE
BAR
ITEM "MyClock" "" RunTool SCREEN "MyClock SECONDS DATE DAY"
ITEM "KeysPlease" "" RunTool SCREEN "KeysPlease"
ITEM "ProMeter" "" RunTool SCREEN "ProMeter"
ITEM "Calculator" "" RunTool SCREEN "TURBOTEXT:TTXCalc"
ITEM "FileX" "" RunTool "FileX PUBSCREEN=Blacks_Editor"
ITEM "Installer Guide" "" RunTool Multiview PR:BlEd/Develop/Installer/Installer.guide
MENU "ARexx"
ITEM "Exec ARexx Macro..." "" ExecARexxMacro
ITEM "Exec ARexx String..." "K" ExecARexxString
BAR
ITEM "AddChars" "" ExecARexxMacro BED:Rexx/AddChars.bed
ITEM "CountWords" "" ExecARexxMacro BED:Rexx/CountWords.bed
ITEM "ExecBlk" "" ExecARexxMacro CONSOLE BED:Rexx/ExecBlk.bed
ITEM "PrintBlk" "" ExecARexxMacro BED:Rexx/PrintBlk.bed
ITEM "RemoveBlankLines" "" ExecARexxMacro BED:Rexx/RemoveBlankLines.bed
ITEM "SaveBlk" "" ExecARexxMacro BED:Rexx/SaveBlk.bed
ITEM "SaveChangedDocs" "" ExecARexxMacro BED:Rexx/SaveChangedDocs.bed
ITEM "SetConfig" "" ExecARexxMacro BED:Rexx/SetConfig.bed
ITEM "ShowAG" "" ExecARexxMacro BED:Rexx/ShowAG.bed
ITEM "SortBlk" "" ExecARexxMacro BED:Rexx/SortBlk.bed
ITEM "UnSetLocks" "" ExecARexxMacro BED:Rexx/UnSetLocks.bed
BAR
ITEM "EdEmulation" "" ExecARexxMacro BED:Rexx/EdEmulation.bed
ITEM "GetKin" "" ExecARexxMacro BED:Rexx/GetKin.bed
ITEM "GetRef" "" ExecARexxMacro BED:Rexx/GetRef.bed
ITEM "MarkAutoDocRef" "" ExecARexxMacro BED:Rexx/MarkAutoDocRef.bed
ITEM "MarkRef" "" ExecARexxMacro BED:Rexx/MarkRef.bed
ITEM "NextParagraph" "" ExecARexxMacro BED:Rexx/NextParagraph.bed
ITEM "PrevParagraph" "" ExecARexxMacro BED:Rexx/PrevParagraph.bed
ITEM "StripANSI" "" ExecARexxMacro BED:Rexx/StripANSI.bed
ITEM "StripMan" "" ExecARexxMacro BED:Rexx/StripMan.bed
ITEM "Open all windows" "" ExecARexxMacro BED:Rexx/MyMacro/OpenWindows.bed
MENU "SAS/C"
ITEM "Set Options..." "" ExecARexxMacro BED:Rexx/SASC/SetOptions.bed
BAR
ITEM "Build Project..." "" ExecARexxMacro CONSOLE BED:Rexx/SASC/Build.bed
ITEM "Compile File..." "" ExecARexxMacro CONSOLE BED:Rexx/SASC/Compile.bed
ITEM "Debug Program" "" ExecARexxMacro CONSOLE BED:Rexx/SASC/Debug.bed
BAR
ITEM "Browser" ""
SUB "Invoke" "" RunTool "SC:C/SCMsg"
SUB "Show" "" ExecARexxString "Address SC_SCMSG; Show"
SUB "Hide" "" ExecARexxString "Address SC_SCMSG; Hide"
SUB "Clear" "" ExecARexxString "Address SC_SCMSG; Clear"
ITEM "Error" ""
SUB "First" "" ExecARexxMacro BED:Rexx/SASC/ErrorStep.bed TOP
SUB "Previous" "" ExecARexxMacro BED:Rexx/SASC/ErrorStep.bed PREV
SUB "Current" "" ExecARexxMacro BED:Rexx/SASC/ErrorStep.bed
SUB "Next" "" ExecARexxMacro BED:Rexx/SASC/ErrorStep.bed NEXT
SUB "Last" "" ExecARexxMacro BED:Rexx/SASC/ErrorStep.bed BOTTOM
SBAR
SUB "Delete" "" ExecArexxString "Address SC_SCMSG; Delete"
MENU "Developer"
BAR
ITEM "--- General ---" ""
BAR
ITEM "Build BED.guide" "" ExecARexxMacro CONSOLE BED:Develop/Docs/Build_Guide.bed
BAR
ITEM "--- Commands ---" ""
BAR
ITEM "Make Lista" "" ExecARexxMacro CONSOLE BED:Develop/Docs/Commands/Make_List.bed
ITEM "Build alphabetical list" "" ExecARexxMacro CONSOLE BED:Develop/Docs/Commands/Build_AlphaList.bed
ITEM "Build functional list" "" ExecARexxMacro CONSOLE BED:Develop/Docs/Commands/Build_FuncList.bed
ITEM "Build global list" "" ExecARexxMacro CONSOLE BED:Develop/Docs/Commands/Build_GlobalList.bed
ITEM "Prepare Autodocs" "" ExecARexxMacro CONSOLE BED:Develop/Docs/Commands/Prepare_Commands.bed
ITEM "Build Autodocs" "" ExecARexxMacro CONSOLE BED:Develop/Docs/Commands/Build_Commands.bed
BAR
ITEM "--- Preferences ---" ""
BAR
ITEM "Make Lista" "" ExecARexxMacro CONSOLE BED:Develop/Docs/Prefs/Make_List.bed
ITEM "Build alphabetical list" "" ExecARexxMacro CONSOLE BED:Develop/Docs/Prefs/Build_AlphaList.bed
ITEM "Build functional list" "" ExecARexxMacro CONSOLE BED:Develop/Docs/Prefs/Build_FuncList.bed
ITEM "Prepare Autodocs" "" ExecARexxMacro CONSOLE BED:Develop/Docs/Prefs/Prepare_Autodocs.bed
ITEM "Build Autodocs" "" ExecARexxMacro CONSOLE BED:Develop/Docs/Prefs/Build_Autodocs.bed
BAR
ITEM "--- Errors ---" ""
BAR
ITEM "Make Lista" "" ExecARexxMacro CONSOLE BED:Develop/Docs/Errors/Make_List.bed
ITEM "Build Lists" "" ExecARexxMacro CONSOLE BED:Develop/Docs/Errors/Build_Lists.bed
ITEM "Prepare Autodocs" "" ExecARexxMacro CONSOLE BED:Develop/Docs/Errors/Prepare_Autodocs.bed
ITEM "Build Autodocs" "" ExecARexxMacro CONSOLE BED:Develop/Docs/Errors/Build_Autodocs.bed
BAR
ITEM "--- Locale ---" ""
BAR
ITEM "Build .cd" "" ExecARexxMacro CONSOLE BED:Develop/Locale/Make_cd.bed
MENU "Settings"
ITEM "Change Prefs" ""
SUB "Auto-Save" "1" OpenRequester AUTOSAVEPREFS
SUB "Backup" "2" OpenRequester BACKUPPREFS
SUB "Colors" "3" OpenRequester COLORPREFS
SUB "Display" "4" OpenRequester DISPLAYPREFS
SUB "Edit" "5" OpenRequester EDITPREFS
SUB "End Of Lines" "6" OpenRequester ENDOFLINEPREFS
SUB "Fonts" "7" OpenRequester FONTPREFS
SUB "Icons" "8" OpenRequester ICONPREFS
SUB "Miscellanea" "9" OpenRequester MISCPREFS
SUB "Tabs" "0" OpenRequester TABPREFS
SUB "ARexx" "+" OpenRequester AREXXPREFS
SUB "Format" "-" OpenRequester FORMATPREFS
SUB "Xpk" "." OpenRequester XPKPREFS
BAR
ITEM "Open Prefs..." "" OpenPrefs
ITEM "Save Prefs..." "" SavePrefs
ITEM "Save Prefs As Defaults" "" SaveDefPrefs
BAR
ITEM "Open Definitions..." "" OpenDefinitions
MENU "?"
ITEM "About BED" "" About
BAR
ITEM "Quick Reference" "[Help]" Help QuickReference
ITEM "BED Menus" "" Help Standard_Menus
ITEM "BED Commands" "" ExecARexxMacro BED:Rexx/BedCmdHelp.bed
BAR
ITEM "BED Main Help" "[Shift]-[F1]" Help
BAR
ITEM "SAS C General" "" Help FILE SC:Help/sc_help.guide
ITEM "SAS C Function" "" ExecARexxMacro BED:Rexx/SASC/FindSCFunc.bed
ITEM "SAS C Include Symbol" "" ExecARexxMacro BED:Rexx/SASC/FindSymbol.bed
ITEM "Autodoc" "" ExecARexxMacro BED:Rexx/SASC/FindAutodoc.bed
ITEM "Autodoc (AmigaGuide)" "" ExecARexxMacro BED:Rexx/MyMacro/FindAutodocAG.bed
ITEM "FetchRefs" "[" ExecARexxMacro BED:Rexx/SASC/FetchRefs.bed
BAR
ITEM "See INCLUDE:" "" OpenDoc FILEREQ INCLUDE:
#
;------------------------------------------------------------------------------
;
; Synopsis:
;
; <qualifier>-<qualifier>-...-<keystroke> <command> <arguments>
;
; Valid qualifiers are:
; - SHIFT
; - CTRL
; - ALT
; - LEFT_AMIGA
; - RIGHT_AMIGA
;
; Valid keystrokes are:
; - RETURN
; - ENTER
; - BACKSPACE
; - DEL
; - TAB
; - ESC
; - HELP
; - CURSOR_LEFT
; - CURSOR_RIGHT
; - CURSOR_UP
; - CURSOR_DOWN
; - F1
; - ...
; - F12
;
;------------------------------------------------------------------------------
KEYBOARD:
RETURN InsertLine INDENT
ENTER InsertLine
BACKSPACE BackSpace
DEL Delete
TAB InsertTab
ESC
HELP Help QuickReference
CURSOR_UP MoveUp
CURSOR_DOWN MoveDown
CURSOR_RIGHT MoveRight
CURSOR_LEFT MoveLeft
F1 OpenFile BEDDEV:Source/display2.c
; F6 ExecARexxMacro BED:Rexx/PrevParagraph.bed
; F7 ExecARexxMacro BED:Rexx/NextParagraph.bed
F6 ExecARexxMacro BED:Rexx/SASC/ErrorStep.bed PREV
F7 ExecARexxMacro BED:Rexx/SASC/ErrorStep.bed NEXT
F8 ExecARexxMacro BED:Rexx/IndentBlk.bed
F9 SaveFile QUIET MODIFIED
F10 ActivateNextDoc FRONT
SHIFT-RETURN InsertLine INDENT NOBREAK
SHIFT-ENTER InsertLine NOBREAK
SHIFT-BACKSPACE DeleteSOL
SHIFT-DEL DeleteEOL
SHIFT-TAB InsertTab EXPAND
SHIFT-ESC
SHIFT-HELP ExecARexxMacro BED:Rexx/SASC/FindAutodocAG.bed ASYNC
SHIFT-CURSOR_LEFT MoveSOL
SHIFT-CURSOR_RIGHT MoveEOL
SHIFT-CURSOR_UP MoveUpScr
SHIFT-CURSOR_DOWN MoveDownScr
SHIFT-F6 FormatParagraph
SHIFT-F7 Justify
SHIFT-F9 SaveFileAs
SHIFT-F10 ActivatePrevDoc FRONT
ALT-RETURN InsertLine NOBREAK
ALT-ENTER InsertLine INDENT NOBREAK
ALT-BACKSPACE DeleteSOW
ALT-DEL DeleteEOW
ALT-TAB MovePrevTabStop
ALT-ESC CloseDoc
ALT-HELP ExecARexxMacro BED:Rexx/SASC/FetchRefs.bed
ALT-CURSOR_LEFT MovePrevWord
ALT-CURSOR_RIGHT MoveNextWord
ALT-CURSOR_UP ScrollView 1 RELATIVE
ALT-CURSOR_DOWN ScrollView -1 RELATIVE
ALT-F1 MoveBookmark 1
ALT-F2 MoveBookmark 2
ALT-F3 MoveBookmark 3
ALT-F4 RunTool MultiView Work:Utility/TurboText/TurboText_Manual
ALT-F5 ExecARexxMacro BED:Rexx/MyMacro/TTX.bed
ALT-F6 ExecARexxMacro CONSOLE BED:Rexx/SASC/Build.bed
ALT-F7 ExecARexxMacro CONSOLE BED:Rexx/SASC/Compile.bed
ALT-F8 ExecARexxMacro BED:Rexx/MyMacro/forse.bed
ALT-F9 ; FKey: Zoom Window
ALT-F10 ; FKey: Cycle Screens
CTRL-RETURN InsertLine
CTRL-ENTER InsertLine INDENT
CTRL-BACKSPACE DeleteSOL
CTRL-DEL DeleteLine
CTRL-TAB MoveNextTabStop
CTRL-ESC Quit
CTRL-HELP
CTRL-CURSOR_UP MoveSOF
CTRL-CURSOR_DOWN MoveEOF
CTRL-CURSOR_LEFT ShiftLeft TABS
CTRL-CURSOR_RIGHT ShiftRight TABS
CTRL-F1 SetBookmark 1
CTRL-F2 SetBookmark 2
CTRL-F3 SetBookmark 3
CTRL-F4
CTRL-F5 ; FKey: NewShell
CTRL-F6 ; FKey: More INCLUDE:
CTRL-F7 ; FKey: TTX
CTRL-F8 ; FKey: BED
CTRL-F9 ; FKey: BED debug
CTRL-F10 ; FKey: Avail FLUSH
CTRL-Q SetQuoteMode ON
CTRL-R SetPrefs ReadOnly TOGGLE
CTRL-T SetPrefs TabsGiveSpaces TOGGLE
CTRL-B SetPrefs MakeBackups TOGGLE
CTRL-I SetPrefs AutoIndent TOGGLE
CTRL-F SetPrefs FreeForm TOGGLE
CTRL-O SetPrefs Overstrike TOGGLE
CTRL-W SetPrefs WordWrap TOGGLE
CTRL-J SetPrefs JumpScroll TOGGLE
CTRL-K SetPrefs IBMKeypad TOGGLE
CTRL-1 SetPrefs TEXTCOLOR
CTRL-2 SetPrefs BACKGROUNDCOLOR
CTRL-3 SetPrefs SELTEXTCOLOR
CTRL-4 SetPrefs SELBACKGROUNDCOLOR
ALT-CTRL-HELP ; FKey: Exchange
SHIFT-ALT-CTRL-HELP ; FKey: SAS C Help
ALT-CTRL-CURSOR_LEFT MoveSOW
ALT-CTRL-CURSOR_RIGHT MoveEOW
ALT-CTRL-DEL DeleteEOW
ALT-CTRL-BACKSPACE DeleteSOW
ALT-CTRL-F6 ExecARexxMacro CONSOLE BED:Rexx/MyMacro/Pollo.bed
ALT-CTRL-F10 ExecARexxString "OPTIONS RESULTS; SelectLine; CutBlk; 'GetPort new_protos.h'; ADDRESS VALUE RESULT; PasteClip;"
NP_HOME MoveSOF
NP_END MoveEOF
NP_PGUP ScrollVert PAGEUP
NP_PGDN ScrollVert PAGEDOWN
NP_INS SetPrefs OverStrike TOGGLE
NP_DEL Delete
NP_CURSORUP ScrollVert -1
NP_CURSORDOWN ScrollVert 1
NP_CURSORLEFT MoveLeft
NP_CURSORRIGHT MoveRight
NP_SCRL SetPrefs ReadOnly TOGGLE
NP_PRTSC PrintFile
#
;------------------------------------------------------------------------------
;
; Synopsis:
;
; <mouse button> <command> <arguments>
;
; Valid mouse buttons are:
;
; - DOUBLELEFT
; - DOUBLEMIDDLE
; - LEFTRIGHT
; - LEFTMIDDLE
; - MIDDLERIGHT
; - MIDDLELEFT
;
;------------------------------------------------------------------------------
MOUSE_BUTTONS:
LEFTMIDDLE
LEFTRIGHT MarkBlk
MIDDLELEFT
MIDDLERIGHT
DOUBLELEFT
DOUBLEMIDDLE
#
LINKS:
"BED:Support/Dict_AmigaOS.dfn"
#